﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<iss.sg4210.se18.team6s.jass.DAL.Article>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Details</h2>
    <fieldset>
        <legend>Fields</legend>
        <div class="display-label">
            Title</div>
        <div class="display-field">
            <%: Model.Title %></div>
        <div class="display-label">
            Content</div>
        <div class="display-field">
            <%: Model.Content %></div>
        <div class="display-label">
            Publishing Date</div>
        <div class="display-field">
            <%: String.Format("{0:g}", Model.PublishingDate) %></div>
        <div class="display-label">
            Expiry Date</div>
        <div class="display-field">
            <%: String.Format("{0:g}", Model.ExpiryDate) %></div>
    </fieldset>
    <p>
        <%: Html.ActionLink("Edit", "Edit", new { id=Model.Id }) %>
        |
        <%: Html.ActionLink("Back to List", "Index") %>
    </p>
</asp:Content>
